package cn.yangliu.init.config;

import cn.yangliu.init.InitWorker;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * The type of package-scan.
 *
 * <p>
 * .
 *
 * @author 问道于盲
 * @date 2020-04-30
 */
@Configuration
@EnableConfigurationProperties(InitProperties.class)
@ConditionalOnProperty(prefix = "spring.init", value = "enable", matchIfMissing = true)
@Import(InitWorker.class)
public class InitConfig {
}
